<?php
/**
 * The template for displaying Category Testimonios.
 *
 * Used to display archive-type pages for posts in a category.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */

get_header(); ?>

	<section id="primary" class="site-content categoria-testimonio">
            <div id="content" role="main">
                <?php 
				query_posts( 'category_name=testimonios&posts_per_page=100' );
				if ( have_posts() ) : 
                    while ( have_posts() ) : the_post();
                ?>
                <div class="contenido-testimonio">
                    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>                        
                        <div class="thumbnail-testimonio">
                            <?php the_post_thumbnail("full");?>
                        </div>
                        <div class="entry-content">
                            <h2>"<?php the_title();?>"</h2>
                            <h3><?php the_excerpt();?></h3>
                            <?php the_content();?>
                        </div><!-- .entry-content -->
                    </article><!-- #post -->
                    <div style="clear: both;">&nbsp;</div>
                </div>
                <div style="clear: both"></div>
                <?php
                    endwhile;
                endif; ?>
            </div><!-- #content -->
            <div class="pie-testimonio"></div>
            <?php
            $img1= wp_get_attachment_image_src(558,"full");
            $img2= wp_get_attachment_image_src(559,"full");
            ?>
            <br /><br />
            <?php putRevSlider( "testimonios" ) ?><br />
            <img src="<?php echo $img2[0];?>" width="<?php echo $img2[1];?>" height="<?php echo $img2[2];?>" style="width:98%; height: auto;" border="0" usemap="#Map" />
            <map name="Map">
              <area shape="rect" coords="30,87,216,171" href="http://www.pastisseriamunoz.com" target="_blank">
              <area shape="rect" coords="234,100,359,168" href="https://www.facebook.com/estevejoiersmail?fref=ts" target="_blank">
              <area shape="rect" coords="398,124,533,142" href="http://www.sansabogados.com" target="_blank">
              <area shape="rect" coords="569,94,692,162" href="https://www.facebook.com/sitgetanashoes" target="_blank">
              <area shape="rect" coords="47,196,243,252" href="http://www.familybusinessoffice.es" target="_blank">
              <area shape="rect" coords="272,185,449,261" href="http://lacratera.com" target="_blank">
              <area shape="rect" coords="489,192,575,270" href="http://www.ilcommendatore.com" target="_blank">
              <area shape="rect" coords="603,203,724,265" href="http://www.elsnuvols.com " target="_blank">
              <area shape="rect" coords="730,112,937,148" href="http://www.institutoami.com" target="_blank">
              <area shape="rect" coords="763,192,915,244" href="http://www.dribba.com" target="_blank">
            </map>

	</section><!-- #primary -->

<?php //	get_sidebar(); ?>
<?php get_footer(); ?>